package Test;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author Alger
 * @date 2021/8/26  17:17
 */
public class Test5 {
    public static void main(String[] args) {
        Object o = new Object();
        System.out.println(o.toString());
        System.out.println(String.valueOf(o));
        SimpleDateFormat simpleDateFormat1 = new SimpleDateFormat("yyyy-MM-dd");
        Date date = new Date();
        System.out.println(simpleDateFormat1.format(date));
    }
}
